package com.liner.animal;

/**
 * Fish类
 */
public class Fish extends Animal{
    public Fish(String name, int age, String color) {
        super(name, age, color);
    }

    @Override
    void eat() {
        System.out.println(name + "在吃虾米...");
    }

    @Override
    void drink() {
        System.out.print("今年" + age  + "的" + color + "的");
        super.drink();
    }
}
